package com.bank.backend.boot.base.enums;


/**
 * @author jiaowei
 * @since 2025/5/4 13:20
 */
public enum AccountEnum {
    STATE_0(0, "正常"),
    STATE_2(1, "冻结"),
    STATE_5(2, "销户"),
    STATE_3(3, "可以账户"),
    STATE_4(4, "危险账户"),
    STATE_1(5, "审核中");

    private final int code;
    private final String desc;

    AccountEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}

